<template>
  <teleport to="body" v-if="show" class="wrap">
    <div class="wrap-mask"></div>
    <div class="content">
      <slot></slot>
    </div>
  </teleport>
</template>

<script>

export default {
  name: "myDialog",
  props: ["show"],
  setup(props) {
    return {}
  }
}
</script>

<style scoped lang="less">
</style>